<template>
  <div></div>
</template>

<script lang="ts">
import { onMounted } from "vue";
import { useStore } from "@/store/index";
definePageMeta({
  layout: "login",
});
export default defineComponent({
  name: "mainPage",
  setup() {
    const router = useRouter();
    // 页面加载时
    onMounted(() => {
      router.push("/login");
    });
  },
});
</script>